| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRGetFieldOfView function to get the vertical field of view of a QuickTime VR movie.
float QTVRGetFieldOfView (QTVRInstance qtvr);
The QTVRGetFieldOfView function returns, as its function result, the current vertical field of view of the QuickTime VR movie specified by the qtvr parameter. The vertical field of view is a floating-point value that specifies the angle created by the two lines that connect the viewpoint to the top and bottom of the image.
Use QTVRSetFieldOfView (next) to set the vertical field of view of a QuickTime VR movie. Listing 2-5 illustrates the use of QTVRGetFieldOfView .
| Previous | Chapter contents | Chapter top | Section top | Next |